package com.nexen.merchant.warrantyCard.service;

import java.util.List;

import com.nexen.merchant.serviceRequest.domain.NexenServicerequest;
import com.nexen.merchant.warrantyCard.domain.NexenWarrantycard;

/**
 * 质保卡Service接口
 *
 * @author xiao
 * @date 2024-07-31
 */
public interface INexenWarrantycardService {
    /**
     * 查询质保卡
     *
     * @param Id 质保卡主键
     * @return 质保卡
     */
    public NexenWarrantycard selectNexenWarrantycardById(Long Id);

    /**
     * 查询质保卡列表
     *
     * @param nexenWarrantycard 质保卡
     * @return 质保卡集合
     */
    public List<NexenWarrantycard> selectNexenWarrantycardList(NexenWarrantycard nexenWarrantycard);

    /**
     * 新增质保卡
     *
     * @param nexenWarrantycard 质保卡
     * @return 结果
     */
    public int insertNexenWarrantycard(NexenWarrantycard nexenWarrantycard);

    /**
     * 修改质保卡
     *
     * @param nexenWarrantycard 质保卡
     * @return 结果
     */
    public int updateNexenWarrantycard(NexenWarrantycard nexenWarrantycard);

    /**
     * 批量删除质保卡
     *
     * @param Ids 需要删除的质保卡主键集合
     * @return 结果
     */
    public int deleteNexenWarrantycardByIds(Long[] Ids);

    /**
     * 删除质保卡信息
     *
     * @param Id 质保卡主键
     * @return 结果
     */
    public int deleteNexenWarrantycardById(Long Id);

    /**
     * @param nexenWarrantycard
     * @return
     */
    public int updateAuditStatus(NexenWarrantycard nexenWarrantycard);

    /**
     *
     * @param nexenWarrantycard
     * @return
     */
    List<NexenWarrantycard> selectAllList(NexenWarrantycard nexenWarrantycard);

    /**
     *
     * @param ids
     * @return
     */
    int updateNexenServicerequestSendSMSByIds(List<Long> ids);

}
